support using system z,bz2 libraries

The default is to use the bundled libraries.

To use the system zlib and bzip2 change setup.cfg or use the `--libraries z,bz2` parameter which will make our
custom build_ext command strip out the bundled versions.