Fix more warnings
We finished to fix most of the Unix code, we are now venturing to exotic OSes (android, Windows, ...).
Note also that we will be able to move effectively to warning level 2 or 3 only if we can include the update of xdgmime (this is the last bit of missing fixes required to pass the CI).