Fix rainbow extension build for Android