diff --git a/Math/Math/GPUDummy.cpp b/Math/Math/GPUDummy.cpp
index 42662c69b..f0648237b 100644
--- a/Math/Math/GPUDummy.cpp
+++ b/Math/Math/GPUDummy.cpp
@@ -4,7 +4,7 @@
//
//
-#ifndef CPUONLY
+#ifdef CPUONLY
#include "GPUMatrix.cuh"
#include "GPUSparseMatrix.cuh"
diff --git a/Math/Math/Math.vcxproj b/Math/Math/Math.vcxproj
index 6089ef5d0..73632c370 100644
--- a/Math/Math/Math.vcxproj
+++ b/Math/Math/Math.vcxproj
@@ -109,7 +109,7 @@
true
NO_SYNC;WIN32;NDEBUG;_WINDOWS;_USRDLL;MATH_EXPORTS;%(PreprocessorDefinitions)
true
- %(AdditionalIncludeDirectories)
+ ..\..\common\include\;%(AdditionalIncludeDirectories)
true
Fast
true