Clean up warnings on *nix builds