Added testing for dll existence before loading it