Small changes to 'hit build' cli tool
cli tools: consistent use of -p for selecting profile YAML
Fixes for when_build_dependency