Squashed compiler warnings on OSX.
Fixed OSX GYP build.