Revert "ant build fix"

This reverts commit 99d2a31d49da5d2971913f12c92cd4f3554901a1.