Use Python 3-compatible code for detecting Python 3 :-)