Adapt Sconstruct for multi-platform

Signed-off-by: YohannL <yohann.lemoine.enst@gmail.com>