let makefile work for osx and linux