Fix cases for running on Windows