Fixes issue #141 - broken url rebasing on Windows.