Updated arch computation for OS X.
Corrected off-by-one error.
Made COMPATIBLE_TAGS a set.