change threadutil to pthread for yocto build

Change-Id: I2877a63a421cef3967a8dc2a1b737cf68a4fd378