Fix build of qwt on linux with stock qt

Still fast, but the version that was there could not find QMemArray
while building qwt.

@axelstudios