Uniquify classpath elements, in case directories or zipfiles are listed multiple times