Fix compilation problems in Linux

Hi, I did a patch that fix compilation in Linux. 
You need change .qmake.cache file.