Re #34 I'd prefer not to build Apache module at all, but I don't see the option for that in ./configure --help and the generated makefile doesn't have imgmin target (which I hoped would just build the commandline version):
$ make imgmin
make: *** No rule to make target `imgmin'. Stop.