Use the rake helper for mkdir as this version makes two folders on Windows
Merge pull request #2118 from mscharley/windows-support