Fixed autodetection of python2 binaries