diff --git a/packages/loot-core/bin/build-browser b/packages/loot-core/bin/build-browser
index 2e0d168088afc2d8357c2be6315a65d8e2c21399..c2888de823ca6b35f5943d96f30ec9d697edc347 100755
--- a/packages/loot-core/bin/build-browser
+++ b/packages/loot-core/bin/build-browser
@@ -22,7 +22,10 @@ if [ $NODE_ENV == 'development' ]; then
   # Make sure to do this before starting the build since watch mode
   # will block
   WEBPACK_ARGS="$WEBPACK_ARGS --watch"
-  export MSYS=winsymlinks:nativestrict
+  if [ "$OSTYPE" == "msys" ]; then
+    // Ensure symlinks are created as native Windows symlinks.
+    export MSYS=winsymlinks:nativestrict
+  fi
   ln -snf "$ROOT"/../lib-dist/browser ../../desktop-client/public/kcab
 fi