Update lua to v5.2.3 and libjpeg to v9a