fixing sub directory inclusion and compilation for tor-agent