update ant TargetsCommand to be compatible w/ java 5 version of ant

as of ant 1.9 they now required java 5 and make use of generics.