Reverted changes to gperftools until the compilation issues are resolved.