to build utils correctly add following
MAKE_TARGETS = "${PN}" do_compile_utils() { cd ${B} oe_runmake utils } addtask do_compile_utils after do_compile before do_install this will build utils without errors looking for sys/types.h