Add a BubbleWrap compatibility fix

This fix may potentially apply to other gems which have a `Constants`
class/module. Due to a RubyMotion dependency bug.

Fixes rubymotion/BubbleWrap/issues/337