--- ./CMakeLists.txt.orig	2014-01-15 20:43:34.000000000 +0000
+++ ./CMakeLists.txt	2014-01-15 22:50:54.000000000 +0000
@@ -100,6 +100,7 @@
 string(FIND ${CMAKE_SYSTEM_NAME} "BSD" BEGIN)
 if (${BEGIN} GREATER 0)
     string(SUBSTRING ${CMAKE_SYSTEM_NAME} ${BEGIN} 3 BSD)
+    set(BSD 1 CACHE INTERNAL BOOL FORCE)
 else()
     set(BSD 0)
 endif()
