diff --git a/CMakeLists.txt b/CMakeLists.txt
index a079efa..e04c800 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -710,7 +710,7 @@ if(WIN32)
         # At least some copies of dinput.h redefine some types multiple times.
         # We must add the directory as a system directory so that the compiler
         # will suppress such errors.
-        include_directories(SYSTEM ${DINPUT_INCLUDE_DIR})
+        include_directories(${DINPUT_INCLUDE_DIR})
     else(DINPUT_FOUND)
         message(FATAL_ERROR
             "Windows port requires DirectInput (not found).")
@@ -731,7 +731,7 @@ if(WIN32)
     
     if(SUPPORT_D3D)
         if(D3DX9_FOUND)
-            include_directories(BEFORE SYSTEM ${D3DX9_INCLUDE_DIR})
+            include_directories(BEFORE ${D3DX9_INCLUDE_DIR})
             set(ALLEGRO_CFG_D3DX9 1)
         else()
             message("D3DX9 not found. You will not be able to compress or "
@@ -912,7 +912,7 @@ set(MONOLITH_SOURCES ${LIBRARY_SOURCES})
 add_subdirectory(addons)
 
 if(WANT_MONOLITH)
-    include_directories(SYSTEM ${MONOLITH_INCLUDE_DIRECTORIES})
+    include_directories(${MONOLITH_INCLUDE_DIRECTORIES})
 
     # For OSX, we need to set the header location inside the framework for each
     # file (relative to the current directory, so for example when the
