Fix not_if rebuild