Added -lmagic for svn add to work