Fix build script
Let Qt detect target platform automatically.