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