Ensure that OBJDIR exists before ld.in is used.