add platform def to config.xml