add libzmq dependencies
add a simple builder
fix warnings: comparisons of (un)signed int