FindBoost: Simplify library dir detection with cascading if/elseif/else

1 job for master
Status Name Job ID Coverage
  External
passed kwrobot-commit-check