x86_64 also needs -fPIC to create lua shared libraries