Add lua as a submodule.
Fix Makefile not linking lua build against -lm.