Inherit AR/RANLIB from environment

Follow conventions established in a6619562. This allows us to override Lua's linker (for instance while cross compiling)