More CMake updates

Make finding boost conditional upon examples being built; remove building when possible by only using header versions of files