Fixed some issues while compiling for mobile OSes

- Fixed an issue in the DeviceManager under Android
- Fixed issues with the fonts under iOS