Fix compiletest on windows
auto merge of #5704 : brson/rust/compiletest, r=luqmana