Fixed build script issues with old versions of ant?