construct windows friendly url for class loading

Ran into a problem with class loading not working on windows. Here's a fix.