local-alloc: Use correct LDFLAGS/LIBADD variable names

Otherwise we were defining them multiple times.