Then it would appear that there has been no interference with your lease term. The master tenant, your landlord, rented the premises through the completion of your lease. You aren't being put out early.
Your best approach would appear to be to try to convince the building's landlord to allow you to enter into a new lease, despite whatever reservations they have. Do you have any information about why they changed their mind about leasing to you?

