Update PlatformBuilder

added mats checker