Add support for gperftools