Comment Mac OS array elements in getPlatformList() function