Fix windows compile errors with command