add ERL_LIB variable to env