Bugfix in program build error reporting