cxxtest_cpp_update.py to work with python 3 & 2

There were problems with cxxtest and python 3.