[wx] Unreviewed build fixes for recent trunk changes and 32-bit ld *nix builds.