Pass current CC/CXX environment to build with `--env=inherit`

This allows pass through of a user's C compiler environment on Linuxbrew
with environmental variables. Avoids defaulting to the system gcc/g++ which
does not work on many module-based Linux cluster distributions: Homebrew/linuxbrew#13
Clean up rebase