Apply upstream revision 1.151 (fix relative symlinks)

MFC after:	3 days