It fails at the configure stage.
I've tried removing it from CMakeLists.txt too - will report back when it fails and/or finishes building (unfortunately the component which uses the bundled gzip is built right at the end IIRC)