Make sure all constants and classes are available on unsupported platforms

@csfrancis @dylanahsmith 
Why this over the less :fr: `class BaseError < StandardError; end`?