Make './Build.sh misc/headless.jar' work again

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>