No problem, I'm glad it is helpful.
Maybe I can help figure out what's wrong. You shouldn't need to do anything with lua libraries to get it working, what versions of Nim and Love2D are you running? Did you copy the code exactly as it is above? What error message do you get?