Fixed the build so it *actually* works with the M1 public maven repo.