Fix cmake to support bzip2