updated to static_lib api

Change-Id: I19024f2eca9bc3a6691b6ee307dd2a5e69639b17