Fixed SVN_REV grep command, now compiles successfully with gcc 4.7.3