Avoiding including unfinished parts in build