Fixing some details so the core engine compiles on XCode