Added auto finding lua libraries

- What the heck is wrong woth autotools, hard nut to crack