Check if OBJDIR is defined before cleaning