Build reparations to deal with NDK -static builds.