fix compile error in some macros.

Fix this issue.https://github.com/InderKumarRathore/UIDeviceUtil/issues/14