Restore compatibility with 4.02.
Merge pull request #12 from whitequark/master

Restore compatibility with 4.02