rpm/build topdir fix for BSD mktemp

BSD mktemp needs an argument to provide an appropriate path.