Fix condition on Windows