Use proper IF statement for Unified builds