Fix issue in moc with deps gen and files called version.h