fixing cflags for lua5.1