building codes apply to decks and gazebos just as they do for home additions such as sunrooms