fix(lib): fix fallout of numeric reform

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

fix(lib): fix fallout of numeric reform