Update cxxflags for testing with all dependencies