cmake 2.6 parser bug workaround

Fix for issue in https://github.com/libgit2/libgit2/commit/d66a7c061a3b0809589de05eeac00725444db3aa#commitcomment-3093794