configure: prevent ANSI escape codes in stdout of Python version check

Closes #205.