More work on build agent in C
Change stuff since libsvc have changed a bit
More work on agent. Can build standard makefile stuff now