Fix FastTree version check when non-interactive

Fixes the FastTree version check when running in non-interactive mode. Based on @spikebike's suggested regex.

Fixes #1371.
fix issue with "version" having different case

grep command has to be case-insensitive
Merge pull request #1381 from jrrideout/issue-1371

Fix FastTree version check when non-interactive