merge ENV in 2 steps so that configuration modifications to PERL5LIB and PATH will be preserved