fix platform project compile on linux