Fix const warning from GCC