diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index 69173c38a20ea5be7d7cc08d44e248518a743576..335dd8908057b957b1cc85002ca7374633119110 100755
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -226,7 +226,7 @@ endif (LINUX OR DARWIN)
 
 
 if (USESYSTEMLIBS)
-  add_definitions(-DLL_STANDALONE=1)
+  add_definitions(-DLL_USESYSTEMLIBS=1)
 
   if (LINUX AND ${ARCH} STREQUAL "i686")
     add_definitions(-march=pentiumpro)
diff --git a/indra/cmake/Prebuilt.cmake b/indra/cmake/Prebuilt.cmake
index c3fd8f1666a14e8518617c645ca8dfceb83272cc..e54880514832e3b56c5f07f2b0b3e4b40a042ea3 100755
--- a/indra/cmake/Prebuilt.cmake
+++ b/indra/cmake/Prebuilt.cmake
@@ -17,11 +17,11 @@ endif(INSTALL_PROPRIETARY)
 # of previous attempts is serialized in the file
 # ${CMAKE_BINARY_DIR}/temp/${_binary}_installed)
 macro (use_prebuilt_binary _binary)
-  if (NOT DEFINED STANDALONE_${_binary})
-    set(STANDALONE_${_binary} ${USESYSTEMLIBS})
-  endif (NOT DEFINED STANDALONE_${_binary})
+  if (NOT DEFINED USESYSTEMLIBS_${_binary})
+    set(USESYSTEMLIBS_${_binary} ${USESYSTEMLIBS})
+  endif (NOT DEFINED USESYSTEMLIBS_${_binary})
 
-  if (NOT STANDALONE_${_binary})
+  if (NOT USESYSTEMLIBS_${_binary})
     if("${${_binary}_installed}" STREQUAL "" AND EXISTS "${CMAKE_BINARY_DIR}/temp/${_binary}_installed")
       file(READ ${CMAKE_BINARY_DIR}/temp/${_binary}_installed "${_binary}_installed")
       if(DEBUG_PREBUILT)
@@ -52,7 +52,7 @@ macro (use_prebuilt_binary _binary)
               "Failed to download or unpack prebuilt '${_binary}'."
               " Process returned ${${_binary}_installed}.")
     endif (NOT ${_binary}_installed EQUAL 0)
-  endif (NOT STANDALONE_${_binary})
+  endif (NOT USESYSTEMLIBS_${_binary})
 endmacro (use_prebuilt_binary _binary)
 
 endif(NOT DEFINED ${CMAKE_CURRENT_LIST_FILE}_INCLUDED)