Fix from Aaron for OSX compile issue. Works with Xcode 5.0.2.