regex is... hard. I tried replacing something which then just cascaded. in the end I had something along the lines of if(condition=="truerueruerueruerueruerueruerueruerueruerueruerueruerueruerue")
Fuck apple, those guys place system headers in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include and break building open source software with compilers other than apple clang.