[Buildsystem] Adjust install targets to renamed autoconf macro for C++ compiler check