updated ios build lib script