Add --disable-static-c++-tests option [BZ #31797]