Revert "Build using foundation 5"

This reverts commit 13ef4ee366ab0a8e70f6b9f8208756ceb56591d2.