Update hack/make.sh with slightly clearer output and a more precise "are we in the Docker container?" check

/cc @bkcsoft