fix NDK issue with scrypt and supported devices