Prevent infinite build loops