How to build winelib dll from windows codes