Exclude *.log files.
Add nan to dependencies.