Fix build on gcc