Fix compilation for msvc2012

Change-Id: I2d4d2ed7060acee1cb90f7506f3721f073f49d96
Reviewed-by: hjk <hjk121@nokiamail.com>