updated makefile to work with OSX and Linux