Fixed compilation issue on Windows
Fixed compilation on Mac
Added testing that QT GUI build is successfull
Merge branch 'master' into wp8