Fixed build errors when attempting to compile sample project.

Fixes errors that occur within Xcode 6 (only version of Xcode I have tested with).