semantic: Support Windows' paths going through buildConstantString.