Makefile: fix static build
Created by: ffontaine
Don't build and install lua_swupdate.so if HAVE_LUA isn't set to y otherwise build will fail if the toolchain only suports building static libraries
Fixes:
Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com