fix aries build