Change of title will mean stamp duty and possibly CGT.
Stamp duty may be minimised by transferring it when it is valued the least. This may be after demolition.
Transfer is a CGT event and CGT will be at market value so this may also work out cheaper to do while land only. but there are...