Fixes Arch detection