yaml-cpp: shared library build

yaml-cpp: add --with-shared-lib option
yaml-cpp: make dylib default, --with-static-lib, avoid multiple splats