detect_compiler: set $CXX_CXX11_FLAG to flag to use to enable C++11

This allows one to enable C++11 support in eupspkg build scripts, e.g.:

    build() {
        detect_compiler
        $CXX $CXX_CXX11_FLAG ....
    }