Fix compiler errors in Xcode 6.1.1

Had to compile v1.2 of SpriteBuilder to support an older project.

Fixed some compiler errors generated by Xcode 6.1.1