added support for shim deps, fixes #1