fix a couple packages on darwin