Fix manifest tests on windows

Opted to use the runtime check for OS because using filepath.Clean
felt like too much of a testing tautology.