Fix the sim compile fail issue
Fix native depend on pthread library
dbg: Fix the compile warning for the format

../freakz/misc/dev_dbg.c:796:3: warning: format ‘%llX’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘U64’ [-Wformat]
../freakz/misc/dev_dbg.c:796:3: warning: format ‘%llX’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘U64’ [-Wformat]
test: Merge all the common code for zigbee
freakz: fix the compile warning
os: Delete the unnecessary variable
Fix the undefine variable for src_addr_short
Clean Makefile for the new compile method