ant: rebuild fix for openjdk