issue #2435:Lua template supports mac port