fixed problems with makefile on os x (dyldlib instead of soname)