Add Makefile and setup.py to build extension modules

Now we don't have configure any more, just hand write the Makefile and
setup.py files.