OSX fixes
fix compilation (add include)
XCode project