create target dir if not exists, fix for homebrew installation
bump version to 0.42.2