allow platform project to compile on non-windows jvm.