Fix build on gcc 4.2