add a simple trace facility to the build system