Fix LangSelector so that prefixes for weights use - as a separator to avoid mixups with c and c++