fix SConstruct to make compilation happen correctly
This MR fixes compilation issues. The current SConstruct seems to generate a correct .so which loads in GD without warnings.
This MR fixes compilation issues. The current SConstruct seems to generate a correct .so which loads in GD without warnings.