fix generate dll