Fix scope error with newer GCC.