Fix old gcc build