Fixed NotImplementedError when running on Windows machine