added linux_arm fix, and attempted a freebsd_arm (but its not working)