FL-1832 and some minor improvements

Details explained commit messages. Long story short, it adds abi_x86_* flags and multilib wrappers per FL-1832, and also ports some minor improvements/simplifications from my earlier work on gcc.