czmq: add :build to autotools dependencies

Closes #30325.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>