Fix the buildsystem for developer builds of Qt