[core] fix some packages for single build.