Compiles under OD.
Merge pull request #1 from BarAgent/od-compatibility

Compiles under OD.