Added CLOCKER_OPTS environment variable to script
Add locking using WithMutexes to locations
ixes to allow build with latest Brooklyn SNAPSHOT: