Workaround for is_uri on Windows