fix build for non-x86 platforms, which define neither __SSE_MATH__ nor __MMX__