optionally allow python 27 to be passed in (bug 785137)