compare _MSC_VER only when it is defined (silences -Wundef)
fixes for GCC 4.6 on Ubuntu 12.04