Adjust to build system changes

To not build a standalone package use 'qmake CONFIG+=no-package'
in the top level directory.