That link is helpful, thank you. For anyone else who hits this, I added these two lines after the imports: when defined(windows): {.passl: "-lz".} Run
It now compiles & runs & lists zip contents on Windows and Linux. And the executable doesn't seem to depend on any separate shared libs, so is conveniently stand-alone.