Compiling and running Terrest