Tweaks for compiling on OSX