fixed cmake script for detecting boost version to work when only static libraries present.
fixed cmake script for detecting boost version to work when only static libraries present.

chrislu/schism,chrislu/schism,gandideluxe/schism,gandideluxe/schism