Fix const qualifier compile warning