diff -r b0d16164dfa0 -r fc54667b1203 cmake_modules/platform.cmake
--- a/cmake_modules/platform.cmake	Wed Jun 12 04:58:27 2013 +0300
+++ b/cmake_modules/platform.cmake	Wed Jun 12 19:15:51 2013 +0200
@@ -73,8 +73,8 @@
 
 endif(APPLE)
 
-if(WINDOWS)
+if(WIN32)
     #this flags prevents a few dll hell problems
     set(CMAKE_C_FLAGS "-static-libgcc ${CMAKE_C_FLAGS}")
-endif(WINDOWS)
+endif(WIN32)