Fix wrong behavior of #nocandwin package feature

The optional flags should be --with-qt4 and --with-with5.
The flags --with-qt{4,5}-immodule are mandatory.