core: fixed build.