Fix SLES boost detection.

Refs #5027