I had to manually hack some things to get the deployment through successfully. This documents those changes.