[config] add const qualifiers