Make sure automatically generated has_prefix files use / on Windows