Added the syscall ioctl to the checksyscalls scipt.

Also the syscall could be fixed by not sourcing config.sh.