Modifications to cmakelists.txt, bzlib.h to properly generate export libraries.