Fix a problem that does not compile Gallery2.apk