The sfc sample added in 2.4.0 doesn't build when USE_X11 is false. It should have skipped compiling this sample.