Fallback on /tmp for the runtime dir

Modern Linux systems should have the XDG_RUNTIME_DIR environment
variable set.

This lets us fallback on /tmp for all other systems.