Generate static lib to support prelink module

Change-Id: I1bbc85393cfec426eec5bfba805162a2a3a5fbd6