- switch implementation of ConverterASTNode based on whether libsbml has been compiled with legacy math or not (rather than on version)
- fix for bug 2087: when the new astnodes are used, the children are automatically deleted upon a call of setType. So all values of the children need to be read first, or a crash will occur.