Set cmake boost variables in order to use the built version of boost.