Fix create pthread library under msys