[wx] Build fixes for wxMSW.