Allow spaces in ANDROID_HOME when detecting platform versions

Tested under Mac OS X