diff --git a/cmake_targets/tools/build_epc b/cmake_targets/tools/build_epc
index d77b57a920b78fa08069cf26386d7220559d338b..9fa7a44d086b1caa38b5dbc91549e8ccfa8cd965 100755
--- a/cmake_targets/tools/build_epc
+++ b/cmake_targets/tools/build_epc
@@ -120,6 +120,7 @@ function main()
         ;;
       -i | --check-installed-software)
         echo "Check installed software packages necessary to build and run EPC (support Ubuntu 14.04):"
+        set_openair_env
         check_install_oai_software
         check_install_additional_tools
         exit 0
diff --git a/cmake_targets/tools/build_hss b/cmake_targets/tools/build_hss
index 32cc762d0b2a8003bd6c585ba4a2d3875c05a579..90ed7909144717c31f10df93684c9594ca0bc880 100755
--- a/cmake_targets/tools/build_hss
+++ b/cmake_targets/tools/build_hss
@@ -110,6 +110,7 @@ function main()
         ;;
       -i | --check-installed-software)
         echo "Check installed software packages necessary to build and run HSS (support Ubuntu 14.04):"
+        set_openair_env
         check_install_oai_software
         exit 0
         ;;