diff --git a/build-support/functions/00-vars.sh b/build-support/functions/00-vars.sh
index 0eb2dcf109..a26279b892 100644
--- a/build-support/functions/00-vars.sh
+++ b/build-support/functions/00-vars.sh
@@ -33,7 +33,7 @@ if test "$(uname)" == "Darwin"
 then
    SED_EXT="-E"
 else
-   SED_EXT=""
+   SED_EXT="-r"
 fi
 
 CONSUL_BINARY_TYPE=oss