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

solves #18 on os x