Hm, just thinking out loud about edge cases.

1. We already skip `node_modules` above so it should be fine
2. We only replace first occurrence of `lib/` so if someone does crazy thing like `require('lib/foo/lib/foo')` it should still work