[#196] Fix missing endif