ndk-build: fix app compile/link commands for ndk r18
ndk-build: fix app compile/link commands for ndk r18

Use the GLOBAL_* arguments as well

nirbheek/cerbero,fluendo/cerbero,fluendo/cerbero,GStreamer/cerbero,atsushieno/cerbero,nirbheek/cerbero,fluendo/cerbero,atsushieno/cerbero,atsushieno/cerbero,fluendo/cerbero,atsushieno/cerbero,atsushieno/cerbero,nirbheek/cerbero,GStreamer/cerbero,nirbheek/cerbero,GStreamer/cerbero,fluendo/cerbero,GStreamer/cerbero,GStreamer/cerbero