Use OBJECT_DEPENDS to add dependency on config file.