Allow passing CXX via flag or environment variable