Remove ctime header and calls to libc time.h functions

Pure C++ programs must use the std::chrono functionality to manipulate the clock