allow platform project to compile on non-windows jvm.
Merge pull request #186 from bhamail/master

fix platform project compile on linux