work around for TypeMismatch error

Work around a TypeMismatchError with Ruby 2.0 and
ActiveSupport 4.0.0 when only requiring core_ext.