Fixed compiler issues when using the 10.10 SDK