[PATCH v4 08/44] spl: Drop the switch() statement for OS selection