Fix order of compilation in .pro