Pthread h in windows. Simply changing cmake_minimum_required from 2.