adding Mad-X for building headless
madx version 5.02.04