Format source.

Convert line endings to Unix.
Update libraries to latest versions.