Various build housekeeping.
Introjucer: made modules work better when the project doesn't contain any targets that will build on the current OS.