[wx] Build fixes for Windows.