fix(lib): fix fallout of numeric reform

See rust-lang/rust#18827
Merge pull request #35 from japaric/fix

fix(lib): fix fallout of numeric reform