gh-172 Fix module location for compilation on Windows (1.0.x)

* Using toExternalForm on URL produces a UNIX-style path which does not work fine on Windows machines. Instead, create a File with the URL's URI and get absolute path for it, which produces a platform dependant path.