Add Python version checks to the Makefile to automatically set WITH_OWN_SUBPROCESS_PY