This reverts commit 4e6bf035, reversing changes made to afd997aa. Instead we propagate those frameworks from the compiler again