Make test units compatible with Windows