fixed generation of pdcurses.o library

now pdcurses.o includes also sdl binaries