native: fix Makefiles for OSX

fixes #1979