Fixed lua build so that it really is statically linked.