Fix build errors for R14.

While rebar.config suggested that this library targetted RB14 compilation with
that version had not been tested in a while. This commit fixes up the obvious
build errors.

Signed-off-by: Brian L. Troutwine <brian.troutwine@rackspace.com>