Add support for '.' in arch names (like armv8.1_a)
Differently from the old configuration classes, the new implementation has a sanity check on the platform strings, but that didn't allow .
in the architecture name.
Now that we use armv8.1_a
I adapted the code to accept it.