Added missing endif

Change-Id: I8ea92a5c7f7662feffbd5453f824fe5bbc5f503d