Build on FreeBSD, and hopefully others.

Fall back to using /tmp as "secure" tmpdir - ideally it'll be a tmpfs on
a system with encrypted swap. Issue a preprocessor warning recommending
it.

Signed-off-by: Thomas Hurst <tom@hur.st>