build: set -fPIC even if we override CFLAGS
add gitignore
add support for Lua 5.2