Do not assume python is an interpreter for Python 2

On some distributions and configurations, the python command might refer to
python3 instead of python2, breaking the build. Fix this by using the first of
python2, python2.7, python2.6, python2.5, or python.