Fix compilation failure (with --enable-sse2) on recent Linux systems.

We have to add -msse2 to CFLAGS before checking
for xmmintrin.h and emmintrin.h headers.