scons: add build sub target sample; add static lib sample