Record of the file modification needed to get fpcalc to compile up. Issue is that for static library creation, -lz is needed at the end of the link command. Grepping through the cmake files it was noticed the it ships with checks that add in -lz for APPLE, but not other OSes. An improvement would be to work in the -lz needed for the static build in a similar way rather than modify the linking command for fpcalc directly