The mortgage will have a clause where it secures the loan with all existing and future improvements to the property.
Unless you somehow specifically excludes the building your mortgage will automatically give you a security interest in the building once complete.
_________________________
The opinions expressed are mine and they are not to be taken as legal advice.