Moved children dir calls to the targets for proper ordering