mend

Modified configure.sh and Lua makefiles