Change g++ to CXX, change fix warning off returning NULL in get_run_number