OSX now compiling and working