Improve DLL name validation by rejecting empty names