diff --git a/src/vector.h b/src/vector.h
index eb40f4142eebfc02e9914812eebdbf80a85eb2dc..a14687fbd73c9d04c594f9a9b3c95b13fcbfb92d 100644
--- a/src/vector.h
+++ b/src/vector.h
@@ -26,7 +26,7 @@
 /* Need to check whether compiler supports this (IBM does not)
    This will prevent the macros to be defined and switch off
    explicit vectorization if the compiled does not support it */
-#ifndef __xlc__
+#ifdef __GNUC__
 
 /* Include the header file with the intrinsics (GCC, ICC, Clang). */
 #include <immintrin.h>