build: prereq: simplify Python 3 version checks