Modify build for Medigram xmpp usage

Add configure capability and install to make, this allows for configuring of
the inputs to erlang's release generation.