Fix cmake issue in build script for protected_fs_c
diff --git a/common/protected_fs_rs/protected_fs_c/build.sh b/common/protected_fs_rs/protected_fs_c/build.sh
index 0007be3..9b4ac54 100644
--- a/common/protected_fs_rs/protected_fs_c/build.sh
+++ b/common/protected_fs_rs/protected_fs_c/build.sh
@@ -35,8 +35,8 @@
         shift; shift ;;
     -d | --build_type) 
         case "$2" in 
-            Release) BUILD_TYPE="--config Release";;
-            Debug) BUILD_TYPE="--config Debug";;
+            Release) BUILD_TYPE="-DCMAKE_BUILD_TYPE=Release";;
+            Debug) BUILD_TYPE="-DCMAKE_BUILD_TYPE=Debug";;
             *) echo "Invalid build_type provided!";;
         esac
         shift; shift ;;
@@ -57,4 +57,4 @@
 cmake ${TARGET_FLAGS} ${MODE} ${BUILD_TYPE} "${SOURCE_DIR}"
 
 # We need to force build with -j1 here.
-MAKEFLAGS=-j1 cmake --build . ${BUILD_TYPE}
+MAKEFLAGS=-j1 cmake --build .