Detects python2 in $PATH at build time, fixes #2211