Make building demo applications optional.
Update cotire to 1.6.6.