Added all sdk versions support.

10.x support through a <macrodef>.

Update build.xml