Added Ubuntu platform check for the fix.