weird readlinkat detection on darwin