Fix moc not getting the #if defined right

Slots were not configured in moc when there are inside #if statements
Fix it with adding the slot on all platforms, but make it do nothing
Merge pull request #15 from labsin/linux_installer3

Fix moc not getting the #if defined right