Move LIBS handling into SConstruct environment