Maintain compatibility with official qwt library