diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,10 @@
+0.2.1
+---
+
+- Fix build on aarch64.
+
+
+
 0.2.0
 ---
 
diff --git a/crc32c.cabal b/crc32c.cabal
--- a/crc32c.cabal
+++ b/crc32c.cabal
@@ -1,7 +1,7 @@
 cabal-version: 2.2
 
 name:           crc32c
-version:        0.2.0
+version:        0.2.1
 description:    Haskell bindings for crc32c
 synopsis:       crc32c
 category:       FFI, Raw
diff --git a/include/crc32c/crc32c_config.h b/include/crc32c/crc32c_config.h
--- a/include/crc32c/crc32c_config.h
+++ b/include/crc32c/crc32c_config.h
@@ -12,7 +12,9 @@
 #define HAVE_BUILTIN_PREFETCH 1
 
 // Define to 1 if targeting X86 and the compiler has the _mm_prefetch intrinsic.
+#if (defined(_M_X64) || defined(__x86_64__))
 #define HAVE_MM_PREFETCH 1
+#endif
 
 // Define to 1 if the system libraries have the getauxval function in the
 // <sys/auxv.h> header. Should be true on Linux and Android API level 20+.
