[DF-185] fixer moc errors on empty files
fixed macos build