checks made for yaml-cpp version during compile