Revert "Build framework dynamically by default"

This reverts commit edde71fc09aacfbc5d7de85810ef278a805edaa1.