Update compiler flags to match what wxwidgets it using to preven link warning