Enable dolt on ios builds.
Disable locking around archive accesses in libtool on darwin, it doesn't seem to be necessary and it slows down parallel builds.