fixed require not resolve symlinks

rename template/lib to template/node_modules