Fix linking error.

Also removed dependency on svn.