Move LDFLAGS after the main object

In order to link correctly the libraries with the echoprint-codegen binary the libraries have to be after the object files.