Added compatible OB API macros
Merge pull request #2 from jpauli/54_compat_fix

Added compatible OB API macros