Tweak build system for compiling different variants on the deskop

The changes allow to comile and run e.g. the Harmattan or Symbian variants on the desktop with all features implemented w/o having to change sources.