Fix Makefile for lua 5.2
Update library to 5.2 version