Check if libraries even exists, throw Exception if not.