fix compilation error

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