fixed SL/WH version build problem