Fix build when some compression library is not available.