Compilation fix for *nix