uniform env-* targets
improve env-has-*
add phonies