Fix old gcc compile error