Use a custom add_cxx_flags macro to minimise CMAKE_CXX_FLAGS noise