now compiles, hopefully I did externals correctly