CXX-85 Add newly needed cerrno header to log.cpp