configure: Check for Fox 1.7 as well as Fox 1.6 for the testgui

The testgui will work with both, so check for them both at
configure time.

This came from Alex Barker <alex@1stleg.com> and was posted on github.