Fix wx version handling on linux