[core] fix builds for latest oe-core.