fix build on g++ 4.4.6