fix google gcc 4.6 build error