I had an issue with "incorrect hash" that seemed to persist. I fixed it by adding -DWITH_IPP=OFF. I thought I'll add it here for completeness.