import missing files, remove xencert, and fix the build system