mw-install-sqlite: Import logic from ant build task

Change-Id: Id9ca7b0468728e481ec6b5492920c32ab7919957