Fixed linkage problems introduced with log files