r18219: move some more portability checks out of samba4 and info lib/replace