Fix compile error when SSE4.2 is not enable for build, along with a few other clean-up for git repository