Support to create static libraries for gotoos.

N/A

Signed-off-by: liminghao <vgotoos@gmail.com>