Fix build on debian with ancient Qt, thanks Mr. Jenkins for notifying.