Add GetCurrentContext and fix Android build