Added paths and compiler flags for OSX