Inserted #if defined __SSE2__ lines to support older architectures