Fixed compilation for VS2013