enhanced many things for Windows compilation

Change-Id: I3809c6f5bf41476189b771b7965466c923cdf658
Signed-off-by: Avner BenHanoch <avnerb@mellanox.com>