platformtest.sh: don't use "test -e", it isn't portable