[install] Moved stow requirement where it's used.

This allows most of the script to run on systems without stow such as
Windows.