Repair compilation under Visual Studio 2013.

Add checks on the type of compiler and when is it Visual Studio 2013 or
higher disable some feature in libport as boost::type_traits because they
are defined in c++11 standart.