add setting the platform to the spec