Add build xml for building library