build/android: fix ffmpeg and openssl build scripts