Fix FreeBSD 10 builds of zeromq. We have to run autogen.sh otherwise shared libs get disabled

(cherry picked from commit 7f989d084c24c6204ac03abca130ad727b9c5045)