Use const_defined? rather than ||= to maintain ruby 1.8 support.
Merge pull request #1 from thomasmeeus/patch-1

Use const_defined? rather than ||= to maintain ruby 1.8 support.