Revert "no longer used"

This reverts commit b0cb8340f5b921f9bd5a9d888fcf26c10cc6b07d.
get rid of  extlib and perl environment.