implement --with-lua argument