NULL -> nullptr redo. And CMake improv.
std::tr1 -> std redo.