core: prepare vector.c for mescc.