- use new ruby macros only when available

The original change was done two weeks ago!