I have committed this. Thanks. A better fix might be to use autoconf to tell us whether mkstemp is available, but this is beyond my expertise. Nathan?