Most of the external stuff now compiles