Make the profiler library import all eglib functions from mono.dll

It seems statically linking a separate copy of them runs into
issues with trying to deallocate objects from a wrong heap.