Move Java RPC test server compilation under rebar 'pre_hook' controll.