Only use std::time_t in json when using clang compiler