Fix compile on some *nix