Updating libxml2 to the latest version removes the need for the conditional-parentheses patch, the issue has been fixed.