Tidy up os_dependent stuff (to follow revisions of gtk-fortran)