Set the correct gcov version and exclude moc files.