Evil hack to get around JZMQ_CLASS_FILES having $$'s in it.
Removed unneeded variables.
Fixed up dependencies a bit.