fix compilation of s2 component