Makefile: Use pkg-config on Linux to get the ncurses compilation flags
Makefile: Use pkg-config on Linux to get the ncurses compilation flags

Fixes #1659

alexherbo2/kakoune,jjthrash/kakoune,jkonecny12/kakoune,lenormf/kakoune,alexherbo2/kakoune,mawww/kakoune,Somasis/kakoune,casimir/kakoune,mawww/kakoune,jkonecny12/kakoune,lenormf/kakoune,jjthrash/kakoune,jjthrash/kakoune,danr/kakoune,danr/kakoune,lenormf/kakoune,Somasis/kakoune,alexherbo2/kakoune,mawww/kakoune,Somasis/kakoune,casimir/kakoune,danr/kakoune,alexherbo2/kakoune,lenormf/kakoune,jkonecny12/kakoune,danr/kakoune,jkonecny12/kakoune,casimir/kakoune,jjthrash/kakoune,occivink/kakoune,occivink/kakoune,casimir/kakoune,occivink/kakoune,mawww/kakoune,occivink/kakoune,Somasis/kakoune