Fix compile on *nix