Added compiler flag USE_GLOG to enable compilation without glog installed