Change static lib build to shared.