fix missing dependencies on local packages

Addresses #63. Just the severity of this bug is extreme - this whole dry/wet compatibility API is really fragile and actually buggy...

@tfoote @wjwwood Please review.