made Makefile compile under osx