Fix minor typo for endif