Fix configuration errors with windows