build erlang-czmq statically

When you run `make static=1`, cmq and its dependencies will be fetched
and built statically and erlang-cmzq will be built against it.
clock_gettime doesn't exist on macosx