Fix build with older gcc