changed the dl_getsym callback to use the dynamic memory allocation if the static buffer isn't large enough