fix not correct build if BUILD_GITHUB_PLUGIN=ON in linux rpm-based distro