Update production rule to store derived objects in the overlay directory, if set.