Fixing compilation errors with bzip2/libc. Also adding bzip2 test.