Do not build twice pkg object to get pkg-static