Adapt SConstruct to use compile version of DIm which is added in extras