support flat dependencies

fixes #65