Disable -Werror when building gold separately.