Added platform identification for Android.
Improved error reporting when a platform module can't be imported.