Avoid extra compilation step in ant

Rationale: in some environments the javac task fails with some obscure
error message. Let Maven handle all compilation steps.