make this compile, pretending a lot that we are linux.
NB this does not work yet, it is a work in progress.