added lua sources and fixed tecmake