Only require gzip libraries if there are assets to compress.