Portability with gcc boost gflags glog

Compatible with LibreSSL #128