Changed dynamic library extension from .so to .dylib