Fixes "rebuild" ant target.