Removed the 'shortened' profile names in favor of descriptive profile class names
diff --git a/build/appveyor/win_setenv.bat b/build/appveyor/win_setenv.bat
index b250e6b..ef664d1 100644
--- a/build/appveyor/win_setenv.bat
+++ b/build/appveyor/win_setenv.bat
@@ -65,7 +65,7 @@
 SET SRCDIR=%APPVEYOR_BUILD_FOLDER%
 
 
-IF "%PROFILE:~0,4%" == "MSVC" (
+IF "%PROFILE_CLASS%" == "MSVC" (
 
   :: FindBoost needs forward slashes so cmake doesn't see something as an escaped character
   SET BOOST_ROOT=C:/Libraries/boost_%BOOST_VERSION:.=_%
@@ -87,7 +87,7 @@
     SET PATH=C:\Qt\%QT_VERSION%\%PROFILE%!QTEXT!\bin;!PATH!
   )
 
-) ELSE IF "%PROFILE:~0,4%" == "MING" (
+) ELSE IF "%PROFILE_CLASS%" == "MINGW" (
 
   :: PLATFORM = x86 means MINGWPLAT i686
   :: PLATFORM = x64 means MINGWPLAT x86_64
@@ -107,7 +107,7 @@
   SET SRCDIR=%SRCDIR:\=/%
   SET SRCDIR=/c!SRCDIR:~2!
 
-) ELSE IF "%PROFILE:~0,4%" == "CYGW" (
+) ELSE IF "%PROFILE_CLASS%" == "CYGWIN" (
 
   IF "%PLATFORM%" == "x64" (
     SET CYGWINROOT=C:\cygwin64