This reverts commit d32a55ff. Use the correct 'check_add_cxxflags' invocation. Change-Id: I97d8062c9218b81a24268ec5998e847b1a0efeda