Fix building on Python 3.  Fix #27.
Merge pull request #29 from mdboom/python3-build

Fix building on Python 3.  Fix #27.