change SConscript file to compile dedup code