more progress, everything compiles except portable_binary and json.  Archiving not working yet.