Added compiler flag USE_GLOG to enable compilation without glog being installed