Fixed path detection for Android tools.