CXX-74 extract common flags