Fix the build for platforms with stripped down wxWidgets configurations like Fedora