[dev] fix build StaticLib