non-windows wx build fixes