Fixes issue #2142. These changes primarily focused on making the include guards more robust and simplify how the path for w:airline_section_c was generated. Credits goes to @kazukazuinaina for improving on my original implementation.