Fixes rails commands for Win