build lua as a static library