Expanded the search for boost libs.

In case there is not a static linked boost lib version now it will be searched for dynamic linked boost lib, too.