fix Makefile-recursor so it doesn't ignore LDFLAGS and others

This should fix building with LUA=1 LUA_LIBS_CONFIG=-llua-5.1, and other settings.