Fix clang warnings about extra semicolons and a link error. See https://github.com/wxWidgets/wxWidgets/pull/1434