Fix linking order in SCons.