erlang:integer_to_binary/1 is only present in R16B. Fixes #2 (thanks pvieytes)