add build scripts for ant
Merge pull request #4519 from bollu/add-ant-build-option

add build scripts to directly build with ant