Use rebar instead of makefile
Fix typo
reverse_index:match requires two arguments