fix tests on windows

Tested with:
* Git Bash (msysgit 1.8.4)
* Ruby 2.0.0p247 [i386-mingw32] (32-Bit version from rubyinstaller.org)
  Note: 64-Bit Ruby misses some prebuild gems and fails building them
        locally with DevKit.