remove build parameters which break ant build