add dependencies to ant file; fix dependencies in ninja file