Add a compiler-friendly version of mx.utils.Delegate