fix boost lib checks as FindBoost doesn't seem to define non-release/debug variables