make it work with new ndk