Fix: build dependencies and clean static libs, too