update gperftools to 2.2.1 and add -std=c++0x config