Fixed an error when trying to run on non windows OS