Fix foundation build path