Add support for coping dependencies to staging directory