Fix XCode build, fixes #101