Build fix for OS X and Linux.
Build fix for OS X and Linux.

My previous commit caused the platform detection to almost
always indicate Windows.

appcelerator/kroll,appcelerator/kroll,appcelerator/kroll