Adjusting rake script to work better with appveyor.