bamcheck fix for projects with -d or -t in their path

Change bamcheck options so that targeted is passed via command line and not regexed out as this causes problems