This reverts commit 17f9b21c. This is a partial unrevert. Qt 5.6 and Qt 5.7 remain building and working. Qt 5.5 stays building but broken.