Update build.xml

compile samples with 1.7