use WARNS?=4 for all Lua modules
turn on warnings, and fix compilation issues.
Makefile to build gpio.so.