...G...... [ZBX-8213] fixed library loading code on Windows to prevent potential crash condition