fix scope issue in build.xml