- use new ruby macros only when available

Beats me. @darix?