Fix: missmatch #if ...#endif block