Update SConstruct

fixed the library ordering for compilation