Reworked the build process to work entirely through rebar.  Hopefully this will make it easier to integrate this into other Erlang projects that use the rebar toolchain.