Fix test case so that it works on Windows.
Merge pull request #300 from larskanis/fix-spec-for-mingw32

Fix test case so that it works on x86-mingw32 platform.