fixing build on MAC

- now also the -lncurses ldflag gets applied via gyp
- building and running with Xcode is working again