Fix build failure (const_cast name conflict)