link core against glog