Fix MSVC2010 compilation

Change-Id: I62378e088c9a212fedd752b43ed9b3b9e1a18d73
Reviewed-by: Orgad Shaneh <orgads@gmail.com>