[z2306] Some Changes for lualib and linux systems

Signed-off-by: Salja <salja2012@hotmail.de>