Allow to override CXX/CXXFLAGS through environment

This is needed, for example, to support tests in FreeBSD port of osmium. Tests should respect systemwide compiler and flags (passed through environment), which among other things contain include/library paths critical for successful compilation.