First cut at adding support for handling build errors (and supporting swift)