Update PlatformBuilder

If statment syntax errors