arch is undefined in freebsd