Fix for using PyQt on linux.