Changes done for detecting Mobile Device Properties.

Resolved the build failure issue.