Print \n on Windows.
Update nan to v0.8.0.
Prepare 0.4.0 release