fix compilations errors

Change-Id: I3075fa38bf50286e49802cc635cbb44c4b9b3d1b
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>