Allow compilation without infiniband verbs

Change-Id: I13c5a76cc788d397fa57cbc56f16f679ac7e735d
Signed-off-by: Or Kehati <ork@mellanox.com>