Use plain old `make` for building
main: add envAsMap, in symmetry with envAsSlice
main: Remove outdated func usage
edit: Remove unreachable code