Fixed VS 2005 CMake issue and added support for TDM and VS 2013 compilers.