Add sampler argument on iOS only, add hideAneLibSymbols in the same manner
Add support for useLegacyAOT ADT flag