Make the code Linux-compatible
Little performance tuning using SSE4.2