Fix qt compilation on linux