check only one compiler if CXX variable is set