Add flag for outputting traces
Use autoconf to ensure that needed programs exists