Add libmagic. I thought we could use this to figure out architecture of
the compiler but it's not that easy apparently.
add flags.
More work. None of this is necessarily right.