add optional external package dependencies