fix more builder

fix more builder I broke because of sorting modules by dependency

since `dependencies.js` also needs `projectPath()` added it to `lib/` to DRY code