fixed patch file to use CXX instead of g++