add -fpermissive and moduleclass for graphviz