fixes compilation bug for environments with libbz2, but without libz
Merge pull request #11 from martin-danek/master

fixes compilation bug for environments with libbz2, but without libz