This reverts commit 3e33bb3166. The original commit broke the build (#612) when yaml-cpp is used as a git submodule.
3e33bb3166