use msync for not-linux (ok for kap, not sufficient for kapn) - #162