Use PYVERSION in Makefile and gen-prototypes consistently

PYVERSION is already being set in the Makefile but wasn't being used
when setup.py gets invoked.
Use PYVERSION in gen-prototypes to generate complete packages.
It wasn't working. It created a more or less empty packages before.