Lua Hello world working after mucho linking problems with singleton pattern