conditional for checkjobs and globstar...

only set these options if using bash4