Better detection of SSE4* optimizations

(Fixes #76)