support gperftools and google-perftools