Fixed Windows compilation errors and memory leak

Fixed Windows compilation errors introduced by https://github.com/zeromq/aziomq/pull/8
and memory leak discussed in https://github.com/zeromq/aziomq/pull/9#discussion-diff-20735727
Ah, ok.