Try to fix autorestore posix compatibility
Try to fix autorestore posix compatibility

ekie/kakoune,flavius/kakoune,occivink/kakoune,mawww/kakoune,lenormf/kakoune,ekie/kakoune,lenormf/kakoune,lenormf/kakoune,flavius/kakoune,flavius/kakoune,Somasis/kakoune,casimir/kakoune,casimir/kakoune,casimir/kakoune,jjthrash/kakoune,jkonecny12/kakoune,alexherbo2/kakoune,alexherbo2/kakoune,Somasis/kakoune,alexherbo2/kakoune,mawww/kakoune,Somasis/kakoune,ekie/kakoune,mawww/kakoune,jkonecny12/kakoune,jjthrash/kakoune,occivink/kakoune,casimir/kakoune,lenormf/kakoune,danr/kakoune,occivink/kakoune,occivink/kakoune,flavius/kakoune,jjthrash/kakoune,danr/kakoune,jkonecny12/kakoune,mawww/kakoune,danr/kakoune,ekie/kakoune,Somasis/kakoune,jjthrash/kakoune,jkonecny12/kakoune,alexherbo2/kakoune,danr/kakoune