One more attempt to avoid any variable name clashes.
Apply const_cast for enhanced compatibility with LAPACK prototypes that are not const-correct.