Fix linux compilation temp move error into windows only place