Link dl, pthread, and glog into gen-ext-hhvm, gen-infotabs, and folly