Adding support for b2g18.
Merge pull request #60 from etiennesegonzac/b2g18-compatibility

Adding support for b2g18.