Make pthread detection workaround consistent with other easyconfig
Merge branch 'git_1_8_2' of github.com:gribozavr/easybuild-easyconfigs into git_1_8_2