Rename agent_t in various files to be uniquely named.

This is because debugging symbols are shared between objects on Windows, causing odd behaviour when debugging