[contrib/cristal] compile the xrays lib