make loading also work on Windows