Thanks a lot! That worked.
Leave out -sNO_ZLIB=0. The build actually only checks for the presence vs. absence of NO_ZLIB so defining it at all will disable zlib.