make validate work on Windows