Fix osx lib target in Makefile