Fix the annoying warning when running specs on windows.