[PATCH 1/1] lib: fix selection of CONFIG_CHARSET