access PE headers in winelib shared library