Remove unused files
Allow compiling the agent with optimizations