Add -attributes patch to silence gcc warnings.
Drop special SSE2 build for 32-bit x86 as that is now default. Drop unneeded -cxxflags patch. Drop python 2 support (bz 1629761).