macx: flags for static linking with qt4