add -fpermissive for both C and C++ compiler flags for graphviz