use -g in release builds also
Cleaned up Moc generation