add msg* library and pthread check for WANT_THREAD_SAFE in dietfeatures.h
#include "syscalls.h" syscall(msgctl,msgctl)