fix *.cxx compilation.