Added platform define, modified bz2 regr test