Fix use of moc executable on Darwin