Trying to get it compiling on Mac OS X