Always build zlib because it needed by cmake.
Fix cmake configure parameters