Bash: cleanup msys2 patch, update system profile, fix dependencies.