Use glog instead of printing to stderr.