some missing dependencies

This is essentially trivial except that if someone who speaks Mac better than me can check it, this would be good. Fixes #402 and  and fixes #403