Fixes #5174: Correct condtionnal on sles builds
Merge pull request #421 from Kegeruneku/bug_5174/int/5174_correct_sles_conditionnals_on_sles

Fixes #5174: Correct condtionnal on sles builds