Ant builder: Fix accidentally removed "-Djava.awt.headless=true"

- Was accidentally removed in
the previous commit abb74eeb73236d085202e69c76de34e536679d6c. Sorry