Fix missing endif

Change-Id: Ibdb779f784b3399e3735f8bab81b91a23c8f0176