fix riak installation and configuration