improve compilation without CGNS