Fix anvil.compass on Windows