Escape special characters in arg

I have been searching but havent found a way to escape a special character in a image build ARG. In the example below the ++ causes issues in the build that once removed all is as expected. Is there a way to escape the ++ or special chacters in an ARG? Thank you :).

ARG L=libstdc++
fails to compile


ARG L=libstdc
compiles as expected