Enable static linking of nanomsg