fix native stdlib.h include

Fixes segfault in OSX introduced by 45ffdea
wip
wip
printf in sighndl
valgrind target