config: introduce NPN option
make: fix build on OSX