Add build dependencies and more debug output.