macosx: use NSInvocation on this 10.5 method.