diff --git a/etc/config.csh/settings b/etc/config.csh/settings
index 0fdf93f8d1d5fe875da8000613af449f7bb0982b..f2592aab1f04c2c4dd70913be307b103cb4ff0ec 100644
--- a/etc/config.csh/settings
+++ b/etc/config.csh/settings
@@ -160,8 +160,8 @@ else
 endif
 
 # Shared site (group) executables/libraries
-setenv FOAM_SITE_APPBIN "$siteDir/$WM_PROJECT_VERSION/platforms/$WM_OPTIONS/bin"
-setenv FOAM_SITE_LIBBIN "$siteDir/$WM_PROJECT_VERSION/platforms/$WM_OPTIONS/lib"
+setenv FOAM_SITE_APPBIN "$siteDir/$FOAM_API/platforms/$WM_OPTIONS/bin"
+setenv FOAM_SITE_LIBBIN "$siteDir/$FOAM_API/platforms/$WM_OPTIONS/lib"
 
 # User executables/libraries
 setenv FOAM_USER_APPBIN "$WM_PROJECT_USER_DIR/platforms/$WM_OPTIONS/bin"
diff --git a/etc/config.sh/settings b/etc/config.sh/settings
index 31a4d2138c95f411596f3241e0c847f207960451..55e2f1829e09035008ec5c157ff7e140a03d2ea2 100644
--- a/etc/config.sh/settings
+++ b/etc/config.sh/settings
@@ -155,8 +155,8 @@ else
 fi
 
 # Shared site (group) executables/libraries
-export FOAM_SITE_APPBIN="$siteDir/$WM_PROJECT_VERSION/platforms/$WM_OPTIONS/bin"
-export FOAM_SITE_LIBBIN="$siteDir/$WM_PROJECT_VERSION/platforms/$WM_OPTIONS/lib"
+export FOAM_SITE_APPBIN="$siteDir/$FOAM_API/platforms/$WM_OPTIONS/bin"
+export FOAM_SITE_LIBBIN="$siteDir/$FOAM_API/platforms/$WM_OPTIONS/lib"
 
 # User executables/libraries
 export FOAM_USER_APPBIN="$WM_PROJECT_USER_DIR/platforms/$WM_OPTIONS/bin"