Build MobileDetect only when it is needed.

Refs #40