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.
Merge pull request #181 from nathanolla/solaris-package

Use PYVERSION in Makefile and gen-prototypes consistently