fix build for g++ 4.4.6