Remove test code.
- Add StdHasBase.h.
- Fix StdHasBase.h.
Fix build errors for linux.
Fix build error for windows.