Notes on how to build xv