Clear static build before shared build