Add some debugging output to buildfile