Make old compilers happier?

* Remove pointless framework references.
* Add some macros and categories to our prefix header.
-Werror