and copy dependencies to lib