Space fix with only Ubuntu platform check is added