Fixed errors. I think these are new from the 10.10 SDK.
Merge pull request #1 from prisonerjohn/hotfix-newsdkbugsmaybe

thx!