cleanup makefiles, rename .cpp to .cxx and .hpp, .hxx, etc