add environment for external libraries