[Makefile] Allow specifying the Python version in offline tests