adapted examples to static_lib instead of source_lib

Change-Id: I3682fb0cadd5f7f803e4851f32254b0e33fa039c