timezone: fix get_zone() on BSDs