Fixed problems with compiling with Visual Studio 2013 Preview edition