fix compile compatibility with wxWidgets-2.9.4
cmake: disable check against wx-2.9.4