Reformulated the require-er to better handle symlinks.