Fix bug with absolute paths for module IDs in Windows.
Fix issues with absolute paths for modules IDs in Windows (all tests should now pass on Windows too).