bug fix when not in a SubVersion working directory: appiled patch proposed http://www.mail-archive.com/cmake@cmake.org/msg26817.html