Fix Qt build on Linux.