Avoid using path.join to generate module path, which breaks on Windows.