improved importing pdcurses.dll