Add support for building a Python 3 module.