Improve detection of "moc" tool / support Qt5

This should fix issue #76 (it there is `moc` installed at all).