Fixed build for Xcode.