build/win: Fix string comparison in split-build for non-bash shells.