Getting CXX command from environment instead of hardcoded value.

where is CXX variable coming from, what if unset?