Fix development for windows

Fixes the issue with URI formatting in the build so you can in windows in development mode.

Use by @mikaeltilly Review by @henrikengstrom