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