Backporting visual studio 2013 support

Backporting from https://github.com/cmangos/mangos-wotlk/commit/8be3780d6cd56b5a2d628045ce52a90cab1df2c1