Added support for "platform" property in the build command.