Fix compilation due to #endif.