Move libncurses to /usr/lib(/amd64)?, fix compilation