miscellaneous changes to complement merge from master

- osx shared library flags for tap.so
- define WANT_PTHREAD so that tap.o in libccan.a
  will be thread safe (needed by pthread_sigmask_test)
- cleanup configurator directory that gets generated on osx
- dont link with tap.o in test plugin makefile