Move compiling rules for rpc files from rebar.config to Makefile