Backported fix for libzmq-39