Fix #endif placement.