Add workaround for https://bugs.ruby-lang.org/issues/8083 bug
Merge pull request #14 from vrutsky/32bit_error_code_bug

Add workaround for https://bugs.ruby-lang.org/issues/8083 bug