fix automake warnings for var redefined
clang uses -fPIC too, don't fail on mod_lua build by not adding PIC flags for the lua library build