fix the new libpthread implementation - the function table init was broken