Fixed project created by template crashes on iOS5.1 device for lua templates