Attempt to correct POSIX support (very ugly !)