Fixed compilation errors due to Sleep being added as supported in latest Visual Studio 2013 (Update 4)