modified build process. libecos now contains the amd and ldl objects needed.