add stub versions of some missing optional pthread interfaces