(OSX) Add some rules for OSX to static Makefile