Warn about missing "mainSourceFile" only for executable configurations.