logging: Don't use put_time as a default

Use std::put_time only with clang >= 3.4 for now.