Tweak call to bin/mksetup in configure

These minor changes enable LSST's `newinstall.sh` to:
* Specify the version of Python used to execute `bin/mksetup`;
* Detect if `./configure` fails.

Thereby resolving [DM-1730](https://jira.lsstcorp.org/browse/DM-1730).