remove uncessary file creation, change CXXFLAGS