Fixed compatibility issue with VS2013