Fix build on old gcc