Check for presence of gzip and bz2 modules