Improved build system generator for CPython extensions.
