Have to do something about SVN_REV
Fix up the use of SVN_REV in a bunch of places.