added support for custom url scheme on windows