[s1893] Fix *nix compile. Thanks to NeatElves for pointing and testing

(based on commit [12360] - 4ca856c)