Fix makefile in simple-bash and added some checks in watchthis.c