Test has to know where loaded library is.
provide compatybility with OS X