Fix for newer GCC versions (const)