Build libs from scratch