Allow to override CXX/CXXFLAGS through environment

The reason with which #68 was closed is invalid: make is not involved in this change, and currently there's no way to build tests with proper systemwide CXX/CXXFLAGS settings without modifying the script.