Make Boost static library usage optional but on by default.

Properly ignore CMakeFiles directories.
Merge pull request #91 from shotxxxx/master

Make Boost static library usage optional but on by default.