pthread library is unconditionally required, acknowledge and remove #ifdefs