Fixed #526. Check for python2 executable by default, fallback to python

Fixes #526