Fix header and type definition issue for Ubuntu 13.04+

in db_main.c: add header <sys/types.h>
in shim_table.h and shim_syscall.h: replace "struct siginfo" with
"siginfo_t".