Revert "riak_ensemble_backend isn't a behaviour"

This reverts commit 2f86c9d0c06e902bd326636c0fe0593721491a94.
Build riak_ensemble_backend firstly
Fix warnings on Linux