fix build for gcc 4.4.6