Check if platform is Linux and compiler is GNU, then set -static-libgcc -static-libstdc++