Fix compilation issues with no SIMD and SSE3, other tweaks

Signed-off-by: Harm Hanemaaijer <fgenfb@yahoo.com>