Add pthread-stubs for Arch

Change-Id: I6af7f315eb671972afc22799cdfac1e385922645