$$ should make it sufficiently unique.
..$RANDOM won't work with our /bin/sh. unsure if this script is used, but it is wrong. might help the spurious build failures that occasionally show up on autobuilds.
This gets rid of homegrown hacks and puts all probes in one place. Tested for NetBSD (build.sh + anita) and Linux (buildrump.sh)