fixed call_macro_from_function for ruby 1.9+