When creating the local const references, ignore the macros.
correct minimizer syntax, which has changed recently