Support for Xcode 4.6 on Mountain Lion.

The project currently doesn't compile with Xcode 4.6 on Mountain Lion but this should fix that.